import fetch from 'utils/fetch';
/**
 * 贷款列表及详情
 * @param {Object} params 入参
 */
export function loanDetail(params) {
  return fetch({
    url: '/api/admin/loanOrderApplyTown/loanDetail',
    method: 'post',
    data: params
  });
}
/**
 * 导出贷款数据
 * @param {Object} params 入参
 */
export function exportData(params) {
  return fetch({
    url: '/api/admin/loanOrderApplyTown/export/loanDetail',
    method: 'post',
    data: params
  });
}
/**
 * 查询导出贷款数据URL
 */
export function findExcelAddress() {
  return fetch({
    url: '/api/admin/loanOrderApplyTown/loanDetail/find/export/url',
    method: 'get'
  })
}